export interface BpmBusinessModel {
  Id: number
  Name: string
  CustomerId: number
  CustomerName?: string
  FollowUpStatus: boolean
  ContactLastTime: Date
  ContactNextTime: Date
  OwnerUserId: number
  OwnerUserName?: string // 负责人的用户名称
  OwnerUserDept?: string // 负责人的部门名称
  StatusTypeId: number
  StatusTypeName?: string
  StatusId: number
  StatusName?: string
  EndStatus: number
  EndRemark: string
  DealTime: Date
  TotalProductPrice: number
  TotalPrice: number
  DiscountPercent: number
  Remark: string
  Creator: string // 创建人
  CreatorName?: string // 创建人名称
  CreateTime: Date // 创建时间
  UpdateTime: Date // 更新时间
  Products?: [
    {
      Id: number
      ProductId: number
      ProductName: string
      ProductNo: string
      ProductUnit: number
      ProductPrice: number
      BusinessPrice: number
      Count: number
      TotalPrice: number
    }
  ]
}